﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
///AdminBasePage 的摘要说明
/// </summary>
public abstract class AdminBasePage : BasePage
{
    protected bool IsLogin = false;

    protected override void OnInit(EventArgs e)
    {
        if (Request.Cookies["Admin"] != null)
        {
            IsLogin = true;
        }
        else
        {
            _Message = "登录失效，请重新登录";
            _ReturnUrl = "Login.aspx?returnUrl=" + Request.Url.ToString();
        }
        base.OnInit(e);
    }

}
